package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("客户与项目匹配创建参数")
public class CustomerProjectCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "clientId参数缺失")
    @ApiModelProperty(value = "客户id")
    private Integer clientId;

    @NotNull(message = "projectId参数缺失")
    @ApiModelProperty(value = "项目id")
    private Integer projectId;

    @NotNull(message = "created参数缺失")
    @ApiModelProperty(value = "匹配时间")
    private Date created;

}
